//
//  HomeProditemHCell.h
//  JiaoX
//
//  Created by yinqy on 15/1/30.
//  Copyright (c) 2015年 北京娇羞科技有限公司. All rights reserved.
//  新首页，竖立商品条目的cell，collectionview

#import <UIKit/UIKit.h>

#import "ProductItemInfo.h"

#define HOME_PROD_IDENTIFIER @"prodItem2col"
#define ProdNameFont [UIFont systemFontOfSize:14]
#define ProdNewPriceFont [UIFont systemFontOfSize:14]
#define ProdBuyCountFont [UIFont systemFontOfSize:11]

#define HomeProditemHCell_HEIGHT (JXScreenW-3*JXPublicInset)*0.5+JXPublicInset*0.5 + ProdNameFont.lineHeight * 2 +JXPublicInset*2 + ProdNewPriceFont.lineHeight

@interface HomeProditemHCell : UICollectionViewCell
+ (instancetype)cellWithCollectionView:(UICollectionView *)collectionView indexPath:(NSIndexPath *)indexPath;
@property(nonatomic,strong)ProductItemInfo *itemInfo;
@end
